package com.hsjk.szwj.module.smedia.controller.admin.production.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @author chenjiawei
 * @desc 搜索云剪辑工程 ReqVO
 * @Date 2023/07/13 17:40
 **/
@Data
public class SearchEditingProjectReqVO {
    @Schema(description = "CreationTime（创建时间）的开始时间。格式为：yyyy-MM-ddTHH:mm:ssZ（UTC时间）",
            example = "")
    private String startTime;

    @Schema(description = "CreationTime（创建时间）的结束时间。格式为：yyyy-MM-ddTHH:mm:ssZ（UTC时间）",
            example = "")
    private String endTime;

    @Schema(description = "云剪辑工程状态。多个用英文逗号（,）分隔。默认获取所有云剪辑工程",
            example = "Draft;Producing;Produced;ProduceFailed")
    private String status;

    @Schema(description = "结果排序方式",
            example = "CreationTime:Desc;CreationTime:Asc")
    private String sortBy;

    @Schema(description = "分页的页码",
            example = "1")
    @Min(value = 1, message = "默认值为 1")
    private Long pageNo;

    @Schema(description = "分页的页码",
            example = "10")
    @Max(value = 100, message = "最大值 100")
    private Long pageSize;

    @Schema(description = "创建来源",
            example = "OpenAPI;AliyunConsole;WebSDK")
    private String createSource;

    @Schema(description = "模板类型",
            example = "Timeline;VETemplate")
    private String templateType;

    @Schema(description = "剪辑工程类型",
            example = "Timeline;VETemplate")
    private String projectType;
}
